const baseUrl = 'http://127.0.0.1';

const host1 = `${baseUrl}:8900`
const host2 = `${baseUrl}:8901`
const host3 = `${baseUrl}:8902`

//负载均衡服务器的状态值
const serverStatus = {
    'online': '1',
    'offline': '2',
}

module.exports = {
    serverStatus,
    pools: {
        [host1]: {
            port: '8900',
            status: serverStatus.online,
            conns: 0
        },
        [host2]: {
            port: '8901',
            status: serverStatus.online,
            conns: 0
        },
        [host3]: {
            port: '8902',
            status: serverStatus.online,
            conns: 0
        },
    }
}